package enit

type SendSms struct {
	Phone  string `json:"phone" form:"phone" binding:"required"`
	Soures string `json:"soures" form:"soures" binding:"required"`
}

type Login struct {
	Phone    string `json:"phone" form:"phone" binding:"required"`
	Password string `json:"password" form:"password"  binding:"required"`
	SmsCode  string `json:"smsCode" form:"smsCode" binding:"required"`
}

type OrderAdd struct {
	UserId   int     `json:"userId" form:"userId" binding:"required"`
	Name     string  `json:"name" form:"name"  binding:"required"`
	RoomType int     `json:"room_type" form:"room_type"  binding:"required"`
	People   string  `json:"people" form:"people"  binding:"required"`
	Times    string  `json:"times" form:"times"  binding:"required"`
	Price    float64 `json:"price" form:"price"  binding:"required"`
	Person   string  `json:"person" form:"person"  binding:"required"`
	Types    int     `json:"types" form:"types"  binding:"required"`
}
